package com.authsphere.security.token.redis.configuration;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/25 15:10
 **/
public class AccessTokenConfig {

    /**
     * token 有效时间 默认60分钟
     * 单位：秒
     */
    private int accessTokenValiditySeconds = 60 * 60;

    /**
     * 序列号id
     */
    private int seriesLength = 16;

    public int getAccessTokenValiditySeconds() {
        return accessTokenValiditySeconds;
    }

    public void setAccessTokenValiditySeconds(int accessTokenValiditySeconds) {
        this.accessTokenValiditySeconds = accessTokenValiditySeconds;
    }

    public int getSeriesLength() {
        return seriesLength;
    }

    public void setSeriesLength(int seriesLength) {
        this.seriesLength = seriesLength;
    }
}
